package com.javasm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 大神用户公会(GodCommunity)实体类
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class GodCommunity implements Serializable {
    private static final long serialVersionUID = 770210675352133628L;
    /**
     * 公会编号
     */
    private Integer communityId;
    /**
     * 公会名称
     */
    private String communityName;
    /**
     * 公会图标
     */
    private String communityLogo;
    /**
     * 会长id
     */
    private Integer communityLeader;
    /**
     * 会长名称
     */
    private String communityLeaderName;

    public GodCommunity(String communityName, String communityLogo, Integer communityLeader) {
        this.communityName = communityName;
        this.communityLogo = communityLogo;
        this.communityLeader = communityLeader;
    }

    public GodCommunity(Integer communityId, String communityName, String communityLogo, Integer communityLeader) {
        this.communityId = communityId;
        this.communityName = communityName;
        this.communityLogo = communityLogo;
        this.communityLeader = communityLeader;
    }
}

